package com.irdstudio.tdp.console.dao;

import java.util.List;

import com.irdstudio.tdp.console.dao.domain.AppModelTree;
import com.irdstudio.tdp.console.service.vo.AppModelTreeVO;
/**
 * <p>DAO interface:应用模型结构树				<p>
 * @author zjj
 * @date 2021-03-16
 */
public interface AppModelTreeDao {
	
	public int insertAppModelTree(AppModelTree appModelTree);
	
	public int deleteByPk(AppModelTree appModelTree);
	
	public int updateByPk(AppModelTree appModelTree);
	
	public AppModelTree queryByPk(AppModelTree appModelTree);
	
	public List<AppModelTree> queryAllOwnerByPage(AppModelTreeVO appModelTree);
	
	public List<AppModelTree> queryAllCurrOrgByPage(AppModelTreeVO appModelTree);
	
	public List<AppModelTree> queryAllCurrDownOrgByPage(AppModelTreeVO appModelTree);

	public int batchInsertAppModelTrees(List<AppModelTreeVO> appModelTreeVOs);
}
